﻿namespace AnyOffice.Model
{
    using System;

    public class AssetCptlInfoData
    {
        protected decimal _cptlBal;
        protected int _cptlId = -1;
        protected string _cptlKind = string.Empty;
        protected string _cptlName = string.Empty;
        protected string _cptlNo = string.Empty;
        protected decimal _cptlVal;
        protected DateTime _createDate = DateTime.Now;
        protected object _dcrDate;
        protected object _dcrPrcsId;
        protected int _deptId;
        protected decimal _dpctYY;
        protected int _finishFlag;
        protected DateTime _fromYYMM;
        protected string _keeper = string.Empty;
        protected decimal _monDect;
        protected int _prcsId;
        protected string _remark = string.Empty;
        protected decimal _sumDect;
        protected int _typeId;

        public decimal CptlBal
        {
            get
            {
                return this._cptlBal;
            }
            set
            {
                this._cptlBal = value;
            }
        }

        public int CptlId
        {
            get
            {
                return this._cptlId;
            }
            set
            {
                this._cptlId = value;
            }
        }

        public string CptlKind
        {
            get
            {
                return this._cptlKind;
            }
            set
            {
                this._cptlKind = value;
            }
        }

        public string CptlName
        {
            get
            {
                return this._cptlName;
            }
            set
            {
                this._cptlName = value;
            }
        }

        public string CptlNo
        {
            get
            {
                return this._cptlNo;
            }
            set
            {
                this._cptlNo = value;
            }
        }

        public decimal CptlVal
        {
            get
            {
                return this._cptlVal;
            }
            set
            {
                this._cptlVal = value;
            }
        }

        public DateTime CreateDate
        {
            get
            {
                return this._createDate;
            }
            set
            {
                this._createDate = value;
            }
        }

        public DateTime DcrDate
        {
            get
            {
                return (DateTime) this._dcrDate;
            }
            set
            {
                this._dcrDate = value;
            }
        }

        public bool DcrDateIsNull
        {
            get
            {
                return (this._dcrDate == null);
            }
            set
            {
                if (value)
                {
                    this._dcrDate = null;
                }
            }
        }

        public int DcrPrcsId
        {
            get
            {
                return (int) this._dcrPrcsId;
            }
            set
            {
                this._dcrPrcsId = value;
            }
        }

        public bool DcrPrcsIdIsNull
        {
            get
            {
                return (this._dcrPrcsId == null);
            }
            set
            {
                if (value)
                {
                    this._dcrPrcsId = null;
                }
            }
        }

        public int DeptId
        {
            get
            {
                return this._deptId;
            }
            set
            {
                this._deptId = value;
            }
        }

        public decimal DpctYY
        {
            get
            {
                return this._dpctYY;
            }
            set
            {
                this._dpctYY = value;
            }
        }

        public int FinishFlag
        {
            get
            {
                return this._finishFlag;
            }
            set
            {
                this._finishFlag = value;
            }
        }

        public DateTime FromYYMM
        {
            get
            {
                return this._fromYYMM;
            }
            set
            {
                this._fromYYMM = value;
            }
        }

        public string Keeper
        {
            get
            {
                return this._keeper;
            }
            set
            {
                this._keeper = value;
            }
        }

        public decimal MonDect
        {
            get
            {
                return this._monDect;
            }
            set
            {
                this._monDect = value;
            }
        }

        public int PrcsId
        {
            get
            {
                return this._prcsId;
            }
            set
            {
                this._prcsId = value;
            }
        }

        public string Remark
        {
            get
            {
                return this._remark;
            }
            set
            {
                this._remark = value;
            }
        }

        public decimal SumDect
        {
            get
            {
                return this._sumDect;
            }
            set
            {
                this._sumDect = value;
            }
        }

        public int TypeId
        {
            get
            {
                return this._typeId;
            }
            set
            {
                this._typeId = value;
            }
        }
    }
}

